// 导入骨架屏组件
import Skeleton from './Skeleton'
import Slider from './Slider'
// 导入新鲜好物more组件
import More from './More'
// 商品详情面包屑
import Bread from './Bread'
import BreadItem from './Bread/item.vue'
// 城市
import City from './City'
// sku
import Sku from './Sku'
// 商品数量增减
import Numbox from './Numbox'
// 导入按钮
import Button from './Button'
// 复选框
import CheckBox from './CheckBox'
// 信息提示框
import Message from './Message'

// 批量注册
const comList = [Skeleton, Slider, More, Bread, BreadItem, City, Sku, Numbox, Button, CheckBox, Message]
export default {
  install (app) {
    comList.forEach(cp => {
      app.component(cp.name, cp)
    })
  }
}
